package com.jinduplan.planmanager.bean;

import java.util.Objects;

public class HangingBlueBean {
   private String hanging_blue_name;
   private int id;

   public String getHanging_blue_name() {
      return hanging_blue_name;
   }

   public void setHanging_blue_name(String hanging_blue_name) {
      this.hanging_blue_name = hanging_blue_name;
   }
   private boolean isSelect = false;

   public boolean isSelect() {
      return isSelect;
   }

   public void setSelect(boolean select) {
      isSelect = select;
   }


   public int getId() {
      return id;
   }

   public void setId(int id) {
      this.id = id;
   }

   @Override
   public boolean equals(Object o) {
      if (this == o) return true;
      if (!(o instanceof HangingBlueBean)) return false;
      HangingBlueBean that = (HangingBlueBean) o;
      return id == that.id && Objects.equals(hanging_blue_name, that.hanging_blue_name);
   }

   @Override
   public int hashCode() {
      return Objects.hash(hanging_blue_name, id);
   }
}
